package com.mata.worktime.dao.user;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mata.worktime.SuperMapper;
import com.mata.worktime.entity.user.User;

import java.util.List;


/**
 * 用户表 数据层
 *
 * @author 占超群
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 获取所有用户
     * @return
     */
    List<User> getAllUser();

    /**
     * 批量插入
     * @param insertList
     */
    void insertByList(List<User> insertList);
}
